//
//  MenuFenleiCollectionViewCell.m
//  Products_B
//
//  Created by lanou on 16/5/30.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "MenuFenleiCollectionViewCell.h"

@implementation MenuFenleiCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.nameButton = [UIButton buttonWithType:(UIButtonTypeSystem)];
        self.nameButton.frame = CGRectMake(0, 0, 50, 30);
        self.nameButton.titleLabel.font = [UIFont systemFontOfSize:13];
        self.nameButton.titleLabel.numberOfLines = 0;
//        233 217 208
//        self.nameButton.backgroundColor = [UIColor redColor];
        self.nameButton.backgroundColor = PKCOLOR(255, 190, 190);
        [self.contentView addSubview:_nameButton];
    }
    return self;
}
@end
